Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "pictures"

Index

Variables

Const picturesEndpoint

picturesEndpoint: "/api/pictures/" = "/api/pictures/"

The API Endpoint for Picture requests

Functions

searchImageById

  • searchImageById(id: string, headers: ApiHeader): Promise<any>
  • Call onprint API to get Picture from an existing ImageId

    export

    Parameters

    • id: string

      Picture Id

    • headers: ApiHeader

      set to call Onprint API

    Returns Promise<any>

searchImageByImage

  • searchImageByImage(img: Blob, headers: ApiHeader): Promise<any>
  • Call onprint API to get an array of Pictures that best match the image send in argument

    export

    Parameters

    • img: Blob

      Image we try to match with the database

    • headers: ApiHeader

      set to call Onprint API

    Returns Promise<any>

Generated using TypeDoc